package com.wyw.design.model.learning.structure.facade;

/**
 * @Title       不使用门面模式的测试类
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/3/29 15:26
 * Update History:
 * Author        Time            Content
 */
public class NoFacadeTest {
    public static void main(String[] args) {
        FireSystem fireSystem = new FireSystem();
        UserSystem userSystem = new UserSystem();

        fireSystem.useBullet(); // 上子弹
        fireSystem.fire(); // 开火
        userSystem.loseBlood(); // 掉血
        userSystem.addScore(); // 加分
    }
}
